package com.yoyo.yyadsdk.bean.dao;

import com.yoyo.yyadsdk.util.StringConverter;

import org.greenrobot.greendao.annotation.Convert;
import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

import java.util.List;

@Entity
public class ConfigEntity {

    /**
     * autoDelayTime : 30 夜间目标应用启动延时时间  单位：秒
     * interval : 0 两次拉活间隔活跃时间 单位：秒
     * getInterval : 0 拉取网络数据间隔时间 单位：秒
     * lastUpdateTime : 0 最后数据更新时间
     * adInterval : 0 两次广告展示间隔 单位：秒
     * shortcutMaxCount : 0 快捷方式同时最大展示数量(最大值：5)
     * lockAdvMaxCount : 0 锁屏同时最大展示数量(最大值：3)
     * adPeriod : 广告展示周期时间 单位：秒
     */

    @Id(autoincrement = true)
    private Long _id;
    private long autoDelayTime;
    private long interval;
    private long getInterval;
    private long lastUpdateTime;
    private long adInterval;
    private int shortcutMaxCount;
    private int lockAdvMaxCount;
    private long adPeriod;
    @Generated(hash = 1057496562)
    public ConfigEntity(Long _id, long autoDelayTime, long interval,
            long getInterval, long lastUpdateTime, long adInterval,
            int shortcutMaxCount, int lockAdvMaxCount, long adPeriod) {
        this._id = _id;
        this.autoDelayTime = autoDelayTime;
        this.interval = interval;
        this.getInterval = getInterval;
        this.lastUpdateTime = lastUpdateTime;
        this.adInterval = adInterval;
        this.shortcutMaxCount = shortcutMaxCount;
        this.lockAdvMaxCount = lockAdvMaxCount;
        this.adPeriod = adPeriod;
    }
    @Generated(hash = 351301542)
    public ConfigEntity() {
    }
    public Long get_id() {
        return this._id;
    }
    public void set_id(Long _id) {
        this._id = _id;
    }
    public long getAutoDelayTime() {
        return this.autoDelayTime;
    }
    public void setAutoDelayTime(long autoDelayTime) {
        this.autoDelayTime = autoDelayTime;
    }
    public long getInterval() {
        return this.interval;
    }
    public void setInterval(long interval) {
        this.interval = interval;
    }
    public long getGetInterval() {
        return this.getInterval;
    }
    public void setGetInterval(long getInterval) {
        this.getInterval = getInterval;
    }
    public long getLastUpdateTime() {
        return this.lastUpdateTime;
    }
    public void setLastUpdateTime(long lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }
    public long getAdInterval() {
        return this.adInterval;
    }
    public void setAdInterval(long adInterval) {
        this.adInterval = adInterval;
    }
    public int getShortcutMaxCount() {
        return this.shortcutMaxCount;
    }
    public void setShortcutMaxCount(int shortcutMaxCount) {
        this.shortcutMaxCount = shortcutMaxCount;
    }
    public int getLockAdvMaxCount() {
        return this.lockAdvMaxCount;
    }
    public void setLockAdvMaxCount(int lockAdvMaxCount) {
        this.lockAdvMaxCount = lockAdvMaxCount;
    }
    public long getAdPeriod() {
        return this.adPeriod;
    }
    public void setAdPeriod(long adPeriod) {
        this.adPeriod = adPeriod;
    }

}
